package com.hxzy.service.impl;

import com.hxzy.common.ExistsValue;
import com.hxzy.mapper.ExistsValueMapper;
import com.hxzy.service.ExistsValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExistsValueServiceImpl implements ExistsValueService {

    @Autowired
    private ExistsValueMapper existsValueMapper;


    @Override
    public boolean searchCount(ExistsValue existsValue) {
        return this.existsValueMapper.searchCount(existsValue)>0;
    }
}
